package cn.cmcc.online.smsapi.ui.model;

import org.json.JSONObject;

/**
 * Created by admin on 2017/6/15 0015.
 */

public class HeadData {
    private String title;
    private String logo;
    private String color;

    public HeadData(JSONObject obj) {
        title = obj.optString("title_name");
        logo = obj.optString("card_logo");
        color = obj.optString("title_color", "#123456");
    }

    public String getTitle() {
        return title;
    }

    public String getLogo() {
        return logo;
    }

    public String getColor() {
        return color;
    }
}
